﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="GroupTraining.aspx.vb" Inherits="Training.GroupTraining" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Training - Training:: Group Training Modules</title>
<link rel="Stylesheet" type="text/css" media="screen" href="../css/adminStyle.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="ctr">
        <h2>Group Module (Quizzes &amp; Videos) for <%=gName%></h2>
        
        <p><asp:Label ID="lblCurrent" runat="server" Text=""></asp:Label> 
            <asp:Label ID="lblUpdate" runat="server" Text="" CssClass="Alert"></asp:Label></p>
        
        <p>Change Module: 
        <asp:DropDownList ID="ddlModules" runat="server" AppendDataBoundItems="True" 
                CssClass="formfield" ValidationGroup="change">
            <asp:ListItem Text="-select-" Value="-1"></asp:ListItem>
        </asp:DropDownList> 
            <asp:RangeValidator ID="rvChange" runat="server" ErrorMessage="required" 
                ControlToValidate="ddlModules" CssClass="small" Display="Dynamic" 
                MaximumValue="9999" MinimumValue="1" Type="Integer" ValidationGroup="change"></asp:RangeValidator>
        &nbsp;
        <asp:Button ID="btnChange" runat="server" Text="Change" CssClass="button" 
                ValidationGroup="change" /></p>
        
        <div style="width:750px;text-align:left;margin:0 auto;" class="text">
            <div class="row">
                <div class="half">
                    <h3>Quizzes in Module</h3>
                    
                    <ul>
                        <asp:Repeater ID="rptQuiz" runat="server">
                            <ItemTemplate>
                                <li> <%#Eval("QuizName")%></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <div class="half">
                    <h3>Media in Module</h3>
                    
                    <ul>
                        <asp:Repeater ID="rptVideo" runat="server">
                            <ItemTemplate>
                                <li> <%#Eval("VideoName")%></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <div class="clr"></div>
            </div>
        </div>
        
        <asp:Button ID="btnAddModule" runat="server" Text="Add Module" CssClass="button" />
        
        <br />
        <p><a href="Groups.aspx">Manage Groups</a> &nbsp; - &nbsp;
        <a href="Default.aspx">Admin Main</a></p>
    
    </div>
    </form>
</body>
</html>
